<template>
	<view>
		<image src="../../static/img/支付成功1.png"
			style="width: 600rpx;height: 300px; margin-left: 140px;margin-top: 100px;" mode="top left"></image>
		<text style="margin-left: 140px; font-family:'微软雅黑'; font-size: x-large;">支付成功!</text>

		<button type="primary" style="margin-top: 240px;" @click="toHome()">返回首页</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toHome() {
				console.log("条首页")
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style>

</style>
